package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;


/**
 * echats示例中心对象 sys_echarts
 *
 * @author ruoyi
 * @date 2023-06-02
 */
@Data
public class SysEcharts extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 示例中心id
     */
    private Long echartsId;

    /**
     * echarts版本
     */
    private String echartsVersion;

    /**
     * 图表名称
     */
    @Excel(name = "图表名称")
    private String title;

    /**
     * 图表类型
     */
    @Excel(name = "图表类型")
    private String typeTags;

    /**
     * 示例代码
     */
    private String code;

    /**
     * 图片id
     */
    private String cid;
    /**
     * 图片地址
     */
    private String img;
}
